package com.lrs.java.j2se_self.review;

public class ObjectEquals {
	public static void  main(String[] args){
		String s1 = new String("Hi");
		String s2 = "Hi";
		String s3 = new String("Hi");
		String s4 = "Hi";
		boolean c1 = (s4 == s2);
		boolean c2 = s1.equals("Hi");
		System.out.println(c1);
		System.out.println(c2);
	}
}
